package org.snail.web.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.context.annotation.Configuration;
import org.springframework.context.annotation.PropertySource;

/**
 * Created by WJ on 2017/12/8.
 */
@Configuration
@PropertySource("classpath:systemConfig.properties")
public class SystemElConfig {

    @Value("${mail.host}")
    private String mailHost;

   /* @Autowired
    private Environment environment;

    @Bean
    public static PropertySourcesPlaceholderConfigurer propertyConfigure() {
        return new PropertySourcesPlaceholderConfigurer();
    }

    *//**
     * @return the mailHost
     *//*
    public String getMailHost() {
        return mailHost;
    }

    *//**
     * @param mailHost
     * the mailHost to set
     *//*
    public void setMailHost(String mailHost) {
        this.mailHost = mailHost;
    }*/

}
